package day004.homework;

public class Practice01 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;
        max(a, b);
    }

    public static void max(int a, int b) {
        if (a >= b) {
            System.out.println(a + "和" + b + "中较大的数是：" + a);
        } else {
            System.out.println(a + "和" + b + "中较大的数是：" + b);
        }
    }
}
